package ${pojoPackage}.param.${classOtherName};

import lombok.Data;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.time.*;


/**
* 【描 述】：
* 【环 境】：J2SE 17
* 【详 细】：
*
*/
@Data
public class Create${className}Param {

<#list fieldList as field>

    /**
    *  ${field.comment}
    */
    <#if field.notNull>
        <#if field.className == "String">
    @NotBlank(message="${field.comment}不能为空")
    @Length(max = ${field.length},message = "${field.comment}最大长度不能超过${field.length}")
        <#else>
    @NotNull(message="${field.comment}不能为空")
        </#if>
    </#if>
    private ${field.className} ${field.fieldName};
</#list>


}